csserror: Add G_BEGIN_DECLS and G_END_DECLS
authorKjell Ahlstedt <kjellahlstedt@gmail.com>
Wed, 24 Apr 2019 14:32:54 +0000 (16:32 +0200)
committerKjell Ahlstedt <kjellahlstedt@gmail.com>
Wed, 24 Apr 2019 14:32:54 +0000 (16:32 +0200)
Necessary when the header file is included in C++ code.

Merge request !773

gtk/css/gtkcsserror.h

index 6f7dbee01214a689708f20e5b728d3588f919e61..a9392a2317fa023ca9017250a603b5ca199bcc1b 100644 (file)
@@ -24,6 +24,8 @@
 #include <glib.h>
 #include <gdk/gdkversionmacros.h>
 
+G_BEGIN_DECLS
+
 /**
  * GTK_CSS_PARSER_ERROR:
  *
@@ -44,4 +46,6 @@ GQuark gtk_css_parser_error_quark (void);
 GDK_AVAILABLE_IN_ALL
 GQuark gtk_css_parser_warning_quark (void);
 
+G_END_DECLS
+
 #endif /* __GTK_CSS_ERROR_H__ */